package com.zcsy.manage.web.quartz;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;

import com.zcsy.manage.service.quartz.IQuartzTaskService;
/**
 * 物业费定时任务
 * @Title: PropertyFeeQuartzTask.java
 * @Package： com.zcsy.manage.web.quartz 
 * @author hubing
 * @Copyright: 2016 武汉恒数利通软件有限公司 All rights reserved.
 * @date 2016年8月28日
 * @version 1.0
 * @see JDK1.7.0_75
 * @since
 */
public class PropertyFeeQuartzTask {

    @Autowired
    private IQuartzTaskService taskServcie;
    
    private Logger logger = Logger.getLogger(PropertyFeeQuartzTask.class);
    
    public void run(){
        try {
            taskServcie.createPropertyFee();
        } catch (Exception e) {
            e.printStackTrace();
            logger.info("PropertyFeeQuartzTask error: " + e.getMessage());
        }
    }
}
